home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
accounts
/
qckfrm21.arj
/
PRINT.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-05-03
|
392b
|
24 lines
@ECHO OFF
ECHO.
IF NOT %1.==. GOTO good1
ECHO You did not specify a filename
ECHO Type PRINT (filename) For example:
ECHO.
ECHO PRINT MANUAL.DOC or PRINT README.DOC
ECHO.
GOTO end
:good1
IF EXIST %1 GOTO good2
ECHO %1 was not found
GOTO end
:good2
ECHO .... Printing %1 ....
COPY %1 LPT1 > nul
ECHO.
ECHO Printing Finished
:end
ECHO.